package com.superpai.request.shop;

import java.util.TreeMap;

import com.superpai.common.Constants;
import com.superpai.request.PaiPaiRequest;
import com.superpai.response.shop.GetShopCategoryListResponse;
import com.superpai.utils.ParameterUtils;

/**
 * @author Devin.Hu
 * @date 2011-8-22
 * @version V1.0
 * @description 店铺分类请求参数类
 */
public class GetShopCategoryListRequest implements PaiPaiRequest<GetShopCategoryListResponse>{

	/** 卖家uin号 **/
	private int sellerUin;
	
	public int getSellerUin() {
		return sellerUin;
	}

	public void setSellerUin(int sellerUin) {
		this.sellerUin = sellerUin;
	}

	@Override
	public String getApiMethodName() {
		return Constants.shop_getShopCategoryList_method;
	}

	@Override
	public TreeMap<String, String> getTextParams(ParameterUtils paramUtils) throws Exception {
		paramUtils.addStringParam("sellerUin", this.sellerUin);
		return paramUtils.getParamsMap();
	}

	@Override
	public Class<GetShopCategoryListResponse> getResponseClass() {
		return GetShopCategoryListResponse.class;
	}

}
